package com.gopay.common.domain.rcs;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;

/**
 * 纠纷记录
 * @RcsDisputeOrderRecord.java
 * @author mz
 * @Mar 6, 2014 4:48:16 PM  www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name = "RCS_DISPUTE_ORDER_RECORD")
public class RcsDisputeOrderRecord extends BaseEntity{

	private static final long serialVersionUID = 3727972073576478824L;
	
	/**
	 * 序号
	 */
    @Id
    @SequenceGenerator(name = "RcsDisputeOrderRecordSequence", sequenceName = "RCS_DISPUTE_ORDER_RECORD_SEQ")
    @GeneratedValue(generator = "RcsDisputeOrderRecordSequence", strategy = GenerationType.SEQUENCE)
    @Column(name="SQ", nullable=false, unique=true)
	private int SQ;
	
    /**
     * 创建时间
     */
    @Column(name = "CREATED_TS")
    private Date created;

    /**
     * 记录最后修改时间
     */
    @Column(name = "LAST_UPD_TS")
    private Date lastUpdTs;
	

    /**
     * 商户订单号
     */
    @Column(name = "MER_ORDER_ID")
    private String merOrderId;
    
    
    /**
     * 国付宝订单号
     */
    @Column(name = "GOPAY_ORDER_ID")
    private String gopayOrderId;
    
    
    /**
     * 银行订单号
     */
    @Column(name = "BANK_ORDER_ID")
    private String bankOrderId;
    
    /**
     * 纠纷原因ID
     */
    @Column(name = "DISPUTE_REASON_ID")
    private int disputeReasonId;
    
    
    /**
     * 备注
     */
    @Column(name = "REMARK")
    private String remark;
    
    
    /**
     * 客户号
     */
    @Column(name = "MER_ID")
    private String merId;
    
    
    /**
     * 订单类型
     */
    @Column(name = "ORDER_TYPE")
    private String orderType;
    


	public int getSQ() {
		return SQ;
	}


	public void setSQ(int sQ) {
		SQ = sQ;
	}


	public Date getCreated() {
		return created;
	}


	public void setCreated(Date created) {
		this.created = created;
	}


	public Date getLastUpdTs() {
		return lastUpdTs;
	}


	public void setLastUpdTs(Date lastUpdTs) {
		this.lastUpdTs = lastUpdTs;
	}


	public String getMerOrderId() {
		return merOrderId;
	}


	public void setMerOrderId(String merOrderId) {
		this.merOrderId = merOrderId;
	}


	public String getGopayOrderId() {
		return gopayOrderId;
	}


	public void setGopayOrderId(String gopayOrderId) {
		this.gopayOrderId = gopayOrderId;
	}


	public String getBankOrderId() {
		return bankOrderId;
	}


	public void setBankOrderId(String bankOrderId) {
		this.bankOrderId = bankOrderId;
	}


	public int getDisputeReasonId() {
		return disputeReasonId;
	}


	public void setDisputeReasonId(int disputeReasonId) {
		this.disputeReasonId = disputeReasonId;
	}


	public String getRemark() {
		return remark;
	}


	public void setRemark(String remark) {
		this.remark = remark;
	}


	public String getMerId() {
		return merId;
	}


	public void setMerId(String merId) {
		this.merId = merId;
	}


	public String getOrderType() {
		return orderType;
	}


	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}
    
    
    
    
    
 

}
